{% extends 'layout.html' %}{# 继承之母板layout #}

{% block content %}


	<div class="container">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">修改部门</h3>
			</div>
			<div class="panel-body">
				{# 表单内容 #}
				<form method="post">
					{% csrf_token %}{# post请求一定加这句 #}
					<div class="form-group">
						<label>名称</label>
						<input type="text" class="form-control" placeholder="部门名称" name="title"
						       value="{{ row_object.title }}"/>
					</div>

					<button type="submit" class="btn btn-primary">提 交</button>
				</form>
			</div>
		</div>

	</div>



{% endblock %}